Corrected inner constructor and moved documentation annotation