Added function definitions as statement.